package top.zerozoo.learn.grade.dao;

import top.zerozoo.learn.grade.entity.CourseScore;
import top.zerozoo.learn.grade.entity.StudentBaseInfo;
import top.zerozoo.learn.grade.vo.QueryScoreCondition;

import java.util.List;
import java.util.Map;

public interface CourseScoreDao extends IDao {

    CourseScore findById(int id);

    List<CourseScore> findByStudentID(int studentID);

    int insert(CourseScore courseScore);

    int update(CourseScore courseScore);

    int deleteById(int id);


    int count(QueryScoreCondition condition);

    List<CourseScore> find(int start, int rows, QueryScoreCondition condition);
}
